package com.singulee.carschool.service.serviceImpl;

import com.singulee.carschool.mapper.DriverMapper;
import com.singulee.carschool.pojo.Driver;
import com.singulee.carschool.service.DriverService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DriverServiceImpl implements DriverService {
    @Autowired
    private DriverMapper driverMapper;

    public List<Driver> getDriverList() {
        return driverMapper.selectDriverList();
    }
}
